package com.hengpeng.msls.port.client.vo;

import java.util.Date;

/**
 * 站内信
 * @author wuhaifei
 * @version 1.0 2013-01-21
 */
public class Letter
{

	/**
	 * <pre>
	 *   消息类型(站内信(系统自己发送) 重要通知(管理员后台发送))
	 * </pre>
	 */
	public static enum MessageType
	{
		COMMON("站内信"), IMPORTANT("重要通知");

		private String text;

		MessageType(String text)
		{
			this.text = text;
		}

		public String getText()
		{
			return text;
		}

		public void setText(String text)
		{
			this.text = text;
		}
	}

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 内容
	 */
	private String content;

	/**
	 * 类型
	 */
	private MessageType type;

	/**
	 * 发送时间
	 */
	private Date sendTime;

	public String getContent()
	{
		return content;
	}

	public Date getSendTime()
	{
		return sendTime;
	}

	public String getTitle()
	{
		return title;
	}

	public MessageType getType()
	{
		return type;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public void setSendTime(Date sendTime)
	{
		this.sendTime = sendTime;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public void setType(MessageType type)
	{
		this.type = type;
	}

}
